package com.huawei.esdk.uc.device.bmu.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {})
@XmlRootElement(name = "body")
public class BatchAddAccountResponse
{
    @XmlElement(name = "successamount")
    private int successAmount;
    
    @XmlElement(name = "failedamount")
    private int failedAmount;
    
    @XmlElementWrapper(name = "successlist")
    @XmlElement(name = "accountid")
    private List<String> accountIds;
    
    @XmlElementWrapper(name = "failedlist")
    @XmlElement(name = "faileditem")
    private List<Account> failedAccounts;
    
    public int getSuccessAmount()
    {
        return successAmount;
    }
    
    public void setSuccessAmount(int successAmount)
    {
        this.successAmount = successAmount;
    }
    
    public int getFailedAmount()
    {
        return failedAmount;
    }
    
    public void setFailedAmount(int failedAmount)
    {
        this.failedAmount = failedAmount;
    }
    
    public List<String> getAccountIds()
    {
        return accountIds;
    }
    
    public void setAccountIds(List<String> accountIds)
    {
        this.accountIds = accountIds;
    }
    
    public List<Account> getFailedAccounts()
    {
        return failedAccounts;
    }
    
    public void setFailedAccounts(List<Account> failedAccounts)
    {
        this.failedAccounts = failedAccounts;
    }
    
}
